package com.hewl.shiro.admin.entity;


import com.hewl.config.base.BaseEntity;

public class SysPermission extends BaseEntity<SysPermission> {
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;

    private String alias;

    private String name;

    private String desc;

    private Boolean isEnabled;

    private Boolean isDeletable;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public Boolean getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Boolean isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Boolean getIsDeletable() {
        return isDeletable;
    }

    public void setIsDeletable(Boolean isDeletable) {
        this.isDeletable = isDeletable;
    }

	@Override
	public String toString() {
		return "SysPermission [id=" + id + ", alias=" + alias + ", name=" + name + ", desc=" + desc + ", isEnabled="
				+ isEnabled + ", isDeletable=" + isDeletable + "]";
	}
    
}